package cn.edu.csust.coursecard.service;

import cn.edu.csust.coursecard.dao.entity.Advice;
import cn.edu.csust.coursecard.common.ReturnData;

import javax.servlet.http.HttpServletRequest;

/**
 * @author zsw
 * @date 2019/12/18 16:17
 * @author 许大人
 */
public interface AdviceService {

	ReturnData addAdvice(HttpServletRequest request, Advice advice);

	ReturnData getAdvice(HttpServletRequest request,Integer id);

	ReturnData getAllAdvice(HttpServletRequest request);

	ReturnData deleteAdvice(HttpServletRequest request,Integer id);

	ReturnData deleteAllAdvice(HttpServletRequest request);

}
